import request from "@/utils/http.js";

export default async function(account, password) {
	// 发送请求
	const options = {
		url: "/api/user/login",
		header: {
			'Content-Type': 'application/json'
		},
		data: {
			account,
			password
		}
	};

	const result = await request(options);
	return result;
}